package com.mybatis04.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author wzm
 * @create 2023-12-06 15:14
 * project_name:web2310
 * @Description
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Student {
    private Integer id;
    private String name;
    private String no;

    //拆分一个学生选择的多个课程
    //定义一个集合记录学生选修的课
    private List<Course> courseList;
}
